package com.demo7;

public class Test {
    public static void main(String[] args) {
        //创建学生对象
        Student student = new Student("张山",23);
        System.out.println("name="+student.name);
        System.out.println("age="+student.age);
    }
}
